package reservation;


import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public interface _Operations_LesRessources extends Remote{
	
	public List<Ressource> getRessources()throws RemoteException;
	public LesRessources chargerLesRessources()throws RemoteException;
	public void sauverLesRessources() throws RemoteException;
	public void ajouterRessource(String categorie,String designation, String description)throws RemoteException;
	public void supprimerRessource(int id)throws RemoteException;
	public void retirerRessource(int id)throws RemoteException;
	public void remettreRessource(int id)throws RemoteException;
	public List<Ressource> toutesLesRessources()throws RemoteException;
	public void ajouteReservation(Date dateDebut, Date dateFin,
			String designation,String login) throws RemoteException;
	public void supprimerReservation(String designation, int id)throws RemoteException;
	public boolean verifDate(Date debut, Date fin, Ressource ressource)throws RemoteException;
	public boolean verifDateReserv(Date debut, Date fin, Reservation reserv)throws RemoteException;
	
	
}
